package com.wang.service;

import com.wang.mapper.DevReportConfDao;
import com.wang.pojo.DevReportConf;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author wcy
 * @date 2022-08-15 9:31
 */
@Service
@Transactional
public class DevReportConfServiceImpl implements DevReportConfService {


    @Autowired
    private DevReportConfDao devReportConfDao;

    @Override
    public List<DevReportConf> selectDevReportConfByDevId(Integer devId) {
        return devReportConfDao.selectDevReportConfByDevId(devId);
    }

    @Override
    public void updateLastSendTime(Integer devReportConfId, String sendDate) {
        devReportConfDao.updateLastSendTime(devReportConfId,sendDate);
    }
}
